Distant Room Descriptions by Daniel Stelzer


Error

Includes and Included by are omitted for modules with errors

ni

++ 0% (Reading text)
++ 5% (Analysing sentences)
++ 15% (Drawing inferences)
++ 20% (Binding rulebooks)
++ 23% (Binding rulebooks)
++ 26% (Binding rulebooks)
++ 29% (Binding rulebooks)
++ 32% (Binding rulebooks)
++ 35% (Binding rulebooks)
++ 38% (Binding rulebooks)
++ 41% (Generating code)
++ 44% (Generating code)
++ 47% (Generating code)
++ 50% (Generating code)
++ 53% (Generating code)
++ 56% (Generating code)
++ 59% (Generating code)
++ 62% (Generating code)
++ 65% (Generating code)
++ 68% (Generating code)
++ 71% (Generating code)
++ 74% (Generating code)
++ 77% (Generating code)
++ 80% (Generating code)
++ 83% (Generating code)


In the sentence 'if the visibility level count is 0' distant room
descriptions by daniel stelzer, I was expecting to read a condition, but
instead found some text that I couldn't understand - 'visibility level
count is 0'.
I was trying to match this phrase:
if (visibility level count is 0 - a condition):
But I didn't recognise 'visibility level count is 0'.


You wrote 'issue miscellaneous library message number 71' distant room
descriptions by daniel stelzer: but this is a phrase which I don't recognise,
possibly because it is one you meant to define but never got round to, or
because the wording is wrong (see the Phrasebook section of the Index to
check). Alternatively, it may be that the text immediately previous to this
was a definition whose ending, normally a full stop, is missing?


In the sentence 'if the visibility ceiling is the place' distant room
descriptions by daniel stelzer, I was expecting to read a condition, but
instead found some text that I couldn't understand - 'visibility ceiling is
the place'.
I was trying to match this phrase:
if (visibility ceiling is the place - a condition):
But I didn't recognise 'visibility ceiling is the place'.


In the line 'say "[visibility ceiling]"' distant room
descriptions by daniel stelzer, I was expecting that 'visibility ceiling' would
be something to 'say', but it didn't look like any form of 'say' that I
know. So I tried to read 'visibility ceiling' as a value of some kind
(because it's legal to say values), but couldn't make sense of it that way
either. Sometimes this happens because punctuation has gone wrong - for
instance, if you've omitted a semicolon or full stop at the end of the
'say' phrase.


In the sentence 'say "[The visibility ceiling]"' distant room
descriptions by daniel stelzer, I was expecting to read an object, but instead
found some text that I couldn't understand - 'visibility ceiling'.


In the sentence 'repeat with intermediate level count running from 2 to
the visibility level count' distant room
descriptions by daniel stelzer, I was expecting to read an arithmetic value,
but instead found some text that I couldn't understand - 'visibility level
count'.
I was trying to match one of these phrases:
1. repeat with (intermediate level count - a new name) running from (2 -
arithmetic value) to (visibility level count - arithmetic value):
2. repeat with (intermediate level count - a new name) running from (2 -
enumerated value) to (visibility level count - enumerated value):
But I didn't recognise 'visibility level count'.
The name 'intermediate level count' doesn't yet exist.


You wrote 'issue library message looking action number 8 for the
intermediate level' distant room
descriptions by daniel stelzer: again, this is a phrase which I don't
recognise.


In the sentence 'if the visibility level count is 0' distant room
descriptions by daniel stelzer, I was expecting to read a condition, but
instead found some text that I couldn't understand - 'visibility level
count is 0'.
I was trying to match this phrase:
if (visibility level count is 0 - a condition):
But I didn't recognise 'visibility level count is 0'.


In the sentence 'if set to sometimes abbreviated room descriptions and
abbreviated form allowed is true and darkness witnessed is true' distant room
descriptions by daniel stelzer, I was expecting that 'set to sometimes
abbreviated room descriptions and abbreviated form allowed is true and
darkness witnessed is true' would be a condition. It didn't make sense as
one long phrase, but because it was divided up by 'and'/'or', I tried
breaking it down into smaller conditions, but that didn't work either. 'set
to sometimes abbreviated room descriptions' was okay; 'abbreviated form
allowed is true' did not make sense; 'darkness witnessed is true' was okay;
so I ran out of ideas.
I was trying to match this phrase:
if (set to sometimes abbreviated room descriptions and abbreviated form
allowed is true and darkness witnessed is true - a condition):
But I didn't recognise 'set to sometimes abbreviated room descriptions and
abbreviated form allowed is true and darkness witnessed is true'.


You wrote 'issue miscellaneous library message number 17' distant room
descriptions by daniel stelzer: again, this is a phrase which I don't
recognise.


In the sentence 'if the visibility ceiling is the location' distant room
descriptions by daniel stelzer, I was expecting to read a condition, but
instead found some text that I couldn't understand - 'visibility ceiling is
the location'.
I was trying to match this phrase:
if (visibility ceiling is the location - a condition):
But I didn't recognise 'visibility ceiling is the location'.


In the sentence 'if set to sometimes abbreviated room descriptions and
abbreviated form allowed is true and the location is visited' distant room
descriptions by daniel stelzer, I was expecting that 'set to sometimes
abbreviated room descriptions and abbreviated form allowed is true and the
location is visited' would be a condition. It didn't make sense as one long
phrase, but because it was divided up by 'and'/'or', I tried breaking it
down into smaller conditions, but that didn't work either. 'set to
sometimes abbreviated room descriptions' was okay; 'abbreviated form
allowed is true' did not make sense; 'the location is visited' was okay; so
I ran out of ideas.
I was trying to match this phrase:
if (set to sometimes abbreviated room descriptions and abbreviated form
allowed is true and the location is visited - a condition):
But I didn't recognise 'set to sometimes abbreviated room descriptions and
abbreviated form allowed is true and the location is visited'.


You wrote 'print the place's description' distant room
descriptions by daniel stelzer: again, this is a phrase which I don't
recognise.


In the sentence 'if the visibility level count is greater than 0' distant room
descriptions by daniel stelzer, I was expecting to read a condition, but
instead found some text that I couldn't understand - 'visibility level
count is greater than 0'.
I was trying to match this phrase:
if (visibility level count is greater than 0 - a condition):
But I didn't recognise 'visibility level count is greater than 0'.


In the sentence 'let the IP count be the visibility level count' distant room
descriptions by daniel stelzer, I was expecting to read a value, but instead
found some text that I couldn't understand - 'visibility level count'.
I was trying to match one of these phrases:
1. let (ip count - a new name) be (visibility level count - description of
relations of values)
2. let (ip count - a new name) be (visibility level count - name of
kind)
3. let (ip count - a new name) be (visibility level count - value)
4. let (ip count - a temporary named value) be (visibility level
count - value)
But I didn't recognise 'visibility level count'.
The name 'ip count' doesn't yet exist.


In the sentence 'while the IP count is greater than 0' distant room
descriptions by daniel stelzer, I was expecting to read a condition, but
instead found some text that I couldn't understand - 'IP count is greater
than 0'.
I was trying to match this phrase:
while (ip count is greater than 0 - a condition):
But I didn't recognise 'ip count is greater than 0'.


In the sentence 'decrease the IP count by 1' distant room
descriptions by daniel stelzer, I was expecting to read a value, but instead
found some text that I couldn't understand - 'IP count'.


You wrote 'decrease the IP count by 1' distant room
descriptions by daniel stelzer, but 'IP count' is a value, not a place where a
value is stored. For example, if 'The tally is a number that varies.',
then I can 'increment the tally', but I can't 'increment 37' - the number
37 is always what it is. Similarly, I can't 'increment the number of
people'. Phrases like 'increment' work only on stored values, like values
that vary, or table entries.
I was trying to match this phrase:
decrease (ip count - a stored value) by (1 - value)
But I didn't recognise 'ip count'.


In the sentence 'let the top-down IP count be the visibility level
count' distant room descriptions by daniel
stelzer, I was expecting to read a
value, but instead found some text that I couldn't understand - 'visibility
level count'.
I was trying to match one of these phrases:
1. let (top-down ip count - a new name) be (visibility level count - description
of relations of values)
2. let (top-down ip count - a new name) be (visibility level count - name of
kind)
3. let (top-down ip count - a new name) be (visibility level count - value)

4. let (top-down ip count - a temporary named value) be (visibility level
count - value)
But I didn't recognise 'visibility level count'.
The name 'top-down ip count' doesn't yet exist.


In the sentence 'while the top-down IP count is greater than 0' distant room
descriptions by daniel stelzer, I was expecting to read a condition, but
instead found some text that I couldn't understand - 'top-down IP count is
greater than 0'.
I was trying to match this phrase:
while (top-down ip count is greater than 0 - a condition):
But I didn't recognise 'top-down ip count is greater than 0'.


In the sentence 'while the IP count is less than the top-down IP count' distant room
descriptions by daniel stelzer, I was expecting to read a condition, but
instead found some text that I couldn't understand - 'IP count is less than
the top-down IP count'.
I was trying to match this phrase:
while (ip count is less than the top-down ip count - a condition):
But I didn't recognise 'ip count is less than the top-down ip count'.


In the sentence 'decrease the top-down IP count by 1' distant room
descriptions by daniel stelzer, I was expecting to read a value, but instead
found some text that I couldn't understand - 'top-down IP count'.


You wrote 'decrease the top-down IP count by 1' distant room
descriptions by daniel stelzer, but 'top-down IP count' is a value, not a place
where a value is stored. For example, if 'The tally is a number that
varies.', then I can 'increment the tally', but I can't 'increment 37' -
the number 37 is always what it is. Similarly, I can't 'increment the
number of people'. Phrases like 'increment' work only on stored values,
like values that vary, or table entries.
I was trying to match this phrase:
decrease (top-down ip count - a stored value) by (1 - value)
But I didn't recognise 'top-down ip count'.
++ 86% (Generating code)
++ 89% (Generating code)
++ Ended: Translation failed: 23 problems found
Copy Include Distant Room Descriptions by Daniel Stelzer to clipboard Include Distant Room Descriptions by Daniel Stelzer.
This is a relatively simple extension which adds a new phrase: "describe (place - an object) from the viewpoint of (item - a thing)". This should print the room description just as if the player had typed "look" while in the place. You can also leave off the viewpoint clause if it isn't necessary.
Distant Room Descriptions by Daniel Stelzer begins here.

Describing something is an activity on objects.
The describing something activity has an object called the distant visibility ceiling.
The describing something activity has a number called the distant visibility level count.
The viewpoint is an object that varies. [There has to be a better way than using a global variable!]

To describe (place - an object) from the viewpoint of (item - a thing):
   now the viewpoint is the item;
   carry out the describing activity with the place.
To describle (place - an object):
   now the viewpoint is the place;
   carry out the describing activity with the place.

Before describing an object (called the place) (this is the distant determine visibility ceiling
   rule):
   calculate visibility ceiling at low level;
   now the distant visibility level count is the visibility ceiling count calculated;
   now the distant visibility ceiling is the visibility ceiling calculated;

Rule for describing an object (called the place) (this is the distant room description heading rule):
   say bold type;
   if the visibility level count is 0:
     begin the printing the name of a dark room activity;
     if handling the printing the name of a dark room activity,
       issue miscellaneous library message number 71;
     end the printing the name of a dark room activity;
   otherwise if the visibility ceiling is the place:
     say "[visibility ceiling]";
   otherwise:
     say "[The visibility ceiling]";
   say roman type;
   let intermediate level be the visibility-holder of the viewpoint;
   repeat with intermediate level count running from 2 to the visibility level count:
     issue library message looking action number 8 for the intermediate level;
     let the intermediate level be the visibility-holder of the intermediate level;
   say line break;
   say run paragraph on with special look spacing;
   continue the activity.

Rule for describing an object (called the place) (this is the distant room description body text rule):
   if the visibility level count is 0:
     if set to abbreviated room descriptions, continue the action;
     if set to sometimes abbreviated room descriptions and
       abbreviated form allowed is true and
       darkness witnessed is true,
       continue the action;
     begin the printing the description of a dark room activity;
     if handling the printing the description of a dark room activity,
       issue miscellaneous library message number 17;
     end the printing the description of a dark room activity;
   otherwise if the visibility ceiling is the location:
     if set to abbreviated room descriptions, continue the action;
     if set to sometimes abbreviated room descriptions and abbreviated form
       allowed is true and the location is visited, continue the action;
     print the place's description;
   continue the activity.

Rule for describing an object (called the place) (this is the distant room description paragraphs about objects rule):
   if the visibility level count is greater than 0:
     let the intermediate position be the viewpoint;
     let the IP count be the visibility level count;
     while the IP count is greater than 0:
       now the intermediate position is marked for listing;
       let the intermediate position be the visibility-holder of the
         intermediate position;
       decrease the IP count by 1;
     let the top-down IP count be the visibility level count;
     while the top-down IP count is greater than 0:
       let the intermediate position be the viewpoint;
       let the IP count be 0;
       while the IP count is less than the top-down IP count:
         let the intermediate position be the visibility-holder of the
           intermediate position;
         increase the IP count by 1;
       [if we ever support I6-style inside descriptions, here's where]
       describe locale for the intermediate position;
       decrease the top-down IP count by 1;
   continue the activity.

Distant Room Descriptions ends here.